home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tiger Disk 80
/
Tiger_Disk_080_20xx_Tiger-Crew-Disk_de_Side_C.d64
/
Bring of medusaB
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
7KB
|
225 lines
0 poke55,255:poke56,122
1 poke53280,.:poke53281,.:poke650,128
2 goto12
3 z$=""
4 deffnhb(x)=int(x/256):deffnlb(x)=x-256*fnhb(x):sys58692:poke53265,139
5 print"[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]";
6 print"[221] crypton software present 91 [221]";
7 print"[221] [221]";
8 print"[221] save-game cheat for rings of medusa! [221]";
9 print"[221] [221]";
10 print"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]";
11 print:print" programm by peter stein / 1991":return
12 gosub3:print"[155]"spc(6)"[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
13 printspc(6)"[221]spiel stand disk einlegen [221]"spc(12)"[221]"spc(26)"[221]"
14 printspc(6)"[221] und den entsprechenden [221]"spc(12)"[221]"spc(26)"[221]"
15 printspc(6)"[221]buchstaben (a- z) eingeben[221]"
16 printtab(6)"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]":poke53265,155
17 poke198,.:wait198,1:geta$:ifa$<"a"ora$>"z"then17
18 poke53265,139:l$="rom.save("+a$+")":open2,8,2,l$+",p,r"
19 open15,8,15:get#15,a:gosub188:close15
20 ifa=0then23
21 print:print:print:print" druecke eine taste [146] ";:poke204,.:poke198,.
22 poke53265,155:wait198,1:poke198,.:poke204,1:clr:run
23 sys57812l$,8,1:poke780,.:sys65493
24 open15,8,15:get#15,a:gosub188:close15:poke53265,155
25 print:print:print:print" druecke eine taste [146] ";:poke204,.:poke198,.
26 poke53265,155:wait198,1:poke198,.:poke204,1
27 clr:gosub3:print"[154]"
28 h$(.)=left$(z$,10)+" warenhaus "
29 h$(1)=left$(z$,11)+" hafen "
30 h$(2)=left$(z$,12)+" armee trainieren"
31 h$(3)=left$(z$,13)+" anzahl der ringe"
32 h$(4)=left$(z$,14)+" bank "
33 h$(5)=left$(z$,15)+" stall "
34 h$(6)=left$(z$,16)+" directory "
35 h$(7)=left$(z$,17)+" save game ":a=.
36 fori=.to7:print""spc(11)h$(i):next:print""spc(11)h$(.):poke53265,155
37 b=a:geta$:ifa$=""then37
38 ifa$<>""thenifa$<>"[145]"thenifa$<>chr$(13)then37
39 ifa$="[145]"anda=.then37
40 ifa$=""anda=7then37
41 ifa$="[145]"thena=a-1:ifa=-1thena=.
42 ifa$=""thena=a+1:ifa=8thena=7
43 ifa$=chr$(13)thenpoke825,a+1:goto45
44 print"[146]"spc(11)h$(b)""spc(11)h$(a):goto37
45 clr:onpeek(825)goto46,128,144,120,104,164,210,171
46 gosub3:sys58692:print"[154]"
47 print:print:p=32820
48 wo=peek(p)+256*peek(p+1)
49 bi=peek(p+2)+256*peek(p+3)
50 we=peek(p+4)+256*peek(p+5)
51 te=peek(p+6)+256*peek(p+7)
52 ka=peek(p+8)+256*peek(p+9)
53 ta=peek(p+10)+256*peek(p+11)
54 li=peek(p+12)+256*peek(p+13)
55 fe=peek(p+14)+256*peek(p+15)
56 ld=peek(p+16)+256*peek(p+17)
57 wz=peek(p+18)+256*peek(p+19)
58 ma=peek(p+20)+256*peek(p+21)
59 hw=60000-wo-bi-we-te-ka-ta-li-fe-ld-wz-ma
60 print" a) wolle : ";wo
61 print" b) bier : ";bi
62 print" c) wein : ";we
63 print" d) tee : ";te
64 print" e) kaffee : ";ka
65 print" f) taback : ";ta
66 print" g) leinen : ";li
67 print" h) felle : ";fe
68 print" i) leder : ";ld
69 print" j) werkzeug : ";wz
70 print" k) maschinen : ";ma
71 print"[153] x) menue
72 [153]""[166]26);[200](z$,5)"bitte buch-"
73 [153]""[166]26);[200](z$,6)"staben (a-k)"
74 [153]""[166]26);[200](z$,7)"eingeben und"
75 [153]""[166]26);[200](z$,8)"daten aen-"
76 [153]""[166]26);[200](z$,9)"dern : "
77 [153]""[166]26);[200](z$,11)"f1 = > "
78 [153]""[166]26);[200](z$,12)"f3 = < "
79 [153]""[166]26);[200](z$,13)"f5 = >> "
80 [153]""[166]26);[200](z$,14)"f7 = << "
81 [153]""[166]26);[200](z$,15)"f2 = >>> "
82 [153]""[166]26);[200](z$,16)"f4 = <<< "
83 [153]""[166]26);[200](z$,17)"f6 = >>>> "
84 [153]""[166]26);[200](z$,18)"f8 = <<<< cont"
85 [151]53265,155
86 [161]a$:[139]a$[179]"a"[176]a$[177]"k"[175]a$[179][177]"x"[167]86
87 [139]a$[178]"x"[167]27
88 s[178]17:a[178][198](a$)[171]64:z[178]2[172]a[171]2
89 [145]a[137]91,92,93,94,95,96,97,98,99,100,101
90 [137]86
91 x[178]wo:hw[178]hw[170]x:[141]196:w[178]0:[137]102
92 x[178]bi:hw[178]hw[170]x:[141]196:w[178]2:[137]102
93 x[178]we:hw[178]hw[170]x:[141]196:w[178]4:[137]102
94 x[178]te:hw[178]hw[170]x:[141]196:w[178]6:[137]102
95 x[178]ka:hw[178]hw[170]x:[141]196:w[178]8:[137]102
96 x[178]ta:hw[178]hw[170]x:[141]196:w[178]10:[137]102
97 x[178]li:hw[178]hw[170]x:[141]196:w[178]12:[137]102
98 x[178]fe:hw[178]hw[170]x:[141]196:w[178]14:[137]102
99 x[178]ld:hw[178]hw[170]x:[141]196:w[178]16:[137]102
100 x[178]wz:hw[178]hw[170]x:[141]196:w[178]18:[137]102
101 x[178]ma:hw[178]hw[170]x:[141]196:w[178]20
102 hb[178][165]hb(x):lb[178][165]lb(x):p[178]32820
103 [151]p[170]w,lb:[151]p[170]1[170]w,hb:[137]46
104 [141]3:[153]:[153]:[153][166]11)"contgeldbetrag aendern":[153]:[153]
105 x[178]16777216[172][194](32795)[170]65536[172][194](32796)[170]256[172][194](32797)[170][194](32798)
106 a$[178][201]("00000000"[170][202]([196](x),2),9)
107 gb$[178][200](a$,3)[170]"."[170][202](a$,4,3)[170]"."[170][201](a$,3)
108 [153]" barkapital : ";gb$:[151]53265,155
109 [153]:[153]:[153]:[153]" barkapital aendern (j/n) wait ";:[151]204,.
110 [161]a$:[139]a$[178]"n"[167][151]204,1:[137]27
111 [139]a$[179][177]"j"[167]110
112 [153]:[151]204,1
113 [151]19,64:[133]"conton neuer stand : list999999999 cmdcmdcmdcmdcmdcmdcmdcmdcmdcmdcmdcmdcmdcmdcmdcmdcmd";x$
114 x[178][197](x$):[151]53265,155
115 [139]x[177]999999999[167][153]:[137]113
116 x(.)[178][181](x[173]16777216):x[178]x[171]16777216[172]x(.)
117 x(1)[178][181](x[173]65536):x[178]x[171]65536[172]x(1)
118 x(2)[178][181](x[173]256):x(3)[178]x[171]256[172]x(2)
119 [129]i[178].[164]3:[151]32795[170]i,x(i):[130]:[137]104
120 [141]3:[153]:[153]:[153][166]7)"contanzahl der ringe aendern":[153]:[153]
121 x[178][194](32812):mw[178]x
122 [153][166]7)"contanzahl der ringe :list";x
123 [153]:[153]:[153]:[153][166]8)"printf1 = >"
124 [153]:[153][166]8)"f3 = <list"
125 [153]:[153][166]7)"<cr>= menuelist"
126 s[178]26:z[178]13:hw[178]5:[151]53265,155:[141]196:
127 [151]32812,x:[137]27
128 [141]3:[153]:p[178]32849:fr[178][194](p):gs[178][194](p[170]1):tb[178][194](p[170]2):ks[178][194](p[170]3)
129 hw[178]30[171]fr[171]gs[171]tb[171]ks
130 [153][166]7)"contdu besitzt :"
131 [153][166]7)"1. frachter :"fr
132 [153][166]7)"2. grossschiffe :"gs
133 [153][166]7)"3. truppenboote :"tb
134 [153][166]7)"4. kampfschiffe :"ks
135 [153][166]7)"print x = menue"
136 [153][166]4)"1-4 = waehlen / f1 = > / f2 = <":[151]53265,155
137 [161]a$:[139]a$[179]"1"[176]a$[177]"4"[175]a$[179][177]"x"[167]137
138 [139]a$[178]"x"[167]27
139 s[178]25:[145][197](a$)[137]140,141,142,143
140 z[178]11:x[178]fr:hw[178]hw[170]fr:[141]196:[151]p,x:[137]128
141 z[178]13:x[178]gs:hw[178]hw[170]gs:[141]196:[151]p[170]1,x:[137]128
142 z[178]15:x[178]tb:hw[178]hw[170]tb:[141]196:[151]p[170]2,x:[137]128
143 z[178]17:x[178]ks:hw[178]hw[170]ks:[141]196:[151]p[170]3,x:[137]128
144 [141]3:[153]:[153][166]3)"contwelche werte moechtest du aendern ?":[153]
145 [153][166]12)"1. moral"
146 [153][166]12)"2. erfahrung"
147 [153][166]12)"x= menue"
148 [153][166]3)"print bitte waehlen (1-2 oder x) wait ";:[151]204,.
149 [151]53265,155
150 [161]a$:[139]a$[179]"1"[176]a$[177]"2"[175]a$[179][177]"x"[167]150
151 [151]204,1:[139]a$[178]"x"[167]27
152 [145][197](a$)[137]153,154
153 [129]i[178].[164]6:p(i)[178]32859[170]13[172]i:[130]:[137]155
154 [129]i[178].[164]6:p(i)[178]32858[170]13[172]i:[130]
155 [141]3:[140]:[151]646,14
156 [129]i[178].[164]6:x(i)[178][194](p(i))
157 [135]a$:[153][166]3)a$;x(i):[130]
158 [153][166]3)"printx = menue
159 poke53265,155
160 geta$:ifa$<"1"ora$>"7"anda$<>"x"then160
161 a=val(a$):ifa$="x"then144
162 z=9+2*(a-1):s=23:hw=200
163 x=x(a-1):gosub196:pokep(a-1),x:poke53265,155:goto155
164 gosub3
165 printspc(7)"[154]anzahl der wagen aendern"
166 printspc(7)"anzahl der wagen :[153]";:
167 aw=peek(32818)+256*peek(32819):printaw:poke53265,155:mw=1
168 z=14:s=26:x=aw:hw=750:gosub196
169 hb=fnhb(x):lb=fnlb(x)
170 poke32818,lb:poke32819,hb:goto27
171 poke53265,139:print"[155]"spc(6)"[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
172 printspc(6)"[221] save disk einlegen [221]"
173 printspc(6)"[221] [221]"
174 printspc(6)"[221] und den entsprechenden [221]"
175 printspc(6)"[221] [221]"
176 printspc(6)"[221]buchstaben (a- z) eingeben[221]"
177 printspc(6)"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]":poke53265,155
178 poke198,.:wait198,1:geta$:ifa$<"a"ora$>"z"then178
179 poke53265,139:l$="rom.save("+a$+")"
180 open15,8,15,"i":print#15,"s:"+l$:close15
181 sys57812l$,8
182 poke174,0:poke175,159
183 poke193,0:poke194,128
184 sys62957
185 open15,8,15:get#15,a:gosub188:print#15,"i":close15
186 print:print:print" druecke eine taste [146] ";:poke204,.:poke53265,155
187 poke198,.:wait198,1:poke198,.:poke204,1:run
188 print" [176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174] ";
189 print" [221] status : [221] ";
190 print" [221] [221] ";
191 print" [221] [221] ";
192 print" [173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189] "
193 print"[145][145][145]"a"[157]";
194 get#15,a$:ifa$<>chr$(13)thenprinta$;:goto194
195 return
196 ze$=left$(z$,z)
197 x$=str$(x):print"";spc(s);ze$;"";right$(x$,len(x$)-1);"[146] "
198 geta$:ifa$=""then198
199 ifa$=chr$(13)then209
200 ifa$="[133]"thenx=x+1:ifx>hwthenx=hw
201 ifa$="[134]"thenx=x-1:ifx<mwthenx=mw
202 ifa$="[135]"thenx=x+100:ifx>hwthenx=hw
203 ifa$="[136]"thenx=x-100:ifx<mwthenx=mw
204 ifa$="[137]"thenx=x+1000:ifx>hwthenx=hw
205 ifa$="[138]"thenx=x-1000:ifx<mwthenx=mw
206 ifa$="[139]"thenx=x+10000:ifx>hwthenx=hw
207 ifa$="[140]"thenx=x-10000:ifx<mwthenx=mw
208 goto197
209 x$=str$(x):print"";spc(s);ze$;"[146]";right$(x$,len(x$)-1);" ":return
210 print"[153][147] 0 ";:open1,8,0,"$":poke781,1:sys65478:geta$,a$,a$,a$
211 fori=1to7:geta$,b$,c$,d$:printa$b$c$d$;:next:print:geta$,a$,a$,b$
212 ifstthen214
213 printasc(a$+chr$(0))+256*asc(b$+chr$(0));:goto211
214 sys65484:close1:open15,8,15,"i":print:print"";
215 get#15,a$:ifa$<>chr$(13)thenprinta$;:goto215
216 close15:poke198,.:wait198,1:poke198,.:goto27
217 data"1. infanterie :"
218 data"2. kavallerie :"
219 data"3. artillerie :"
220 data"4. aufklaerer :"
221 data"5. drachenreiter :"
222 data"6. zauberer :"
223 data"7. bogenschuetzen :"